package ui.activity.home.contract;


import Bean.ProductBean;
import base.BaseInfoView;
import base.BasePresenter;

/**
 * Created by chenjian on 19/2/26
 * 1
 */

public interface NewProductContract {

    interface View extends BaseInfoView {
        void loadMoreComplete();

        void hasLoadMore(boolean b);

        void refreshComplete();

        void upDateUI(ProductBean.DataBean bean);

        void submitOrder(int number,String price);

        void updatePrice(int number, String price, String priceType);

        void upDateNumber(int number);
    }

    interface Presenter extends BasePresenter {

        void getPosModel(boolean isRefresh, String id);

        void toOrder();

        void toSubmitOrder();

        void toNumber(int type);

        void toInput(String number);

    }
}
